<foreach name="list" item="l">
<li><a href="javascript:;" onclick="selectAlbum(this,{$l.id})">{$l.video_title}</a></li>
</foreach>